Skip to main content

Page2 - Next.js Package Installation, I Set Up My FREE AI App to Automate Social Media Posting

How I Launched my FREE AI App to Automate Social Media Posting Starting with a Clean Next.js Setup

Nxt.js Project running on local host.
Nxt.js Project running on local host.

Hey everyone Vaughnito here! 👋

So this was the day I officially started building SosyalAi, my dream project.
 I remember opening my laptop, sipping coffee, and thinking,

“Okay… let’s finally make this automation app real.”

If you read my first post here, you already know why I started this.
 Social media automation tools are crazy expensive and I wanted to build one that’s free or costs next to nothing.

So let me walk you through exactly what I did that day when I first set up my SosyalAi project from scratch.

Get the full code after reading.

🧩 Step 1 - Checking if Node.js Was Installed

Screenshot showing Nxt.js package installation process in Visual Studio Code terminal.
Checking If Node.js Is Installed

First thing I did was open my terminal in VS Code (you can also use PowerShell).
 Just press:

Ctrl + `

That’s the backtick key — usually beside the number 1 on your keyboard.

Then I typed this command:

node -v

Boom 💥 It showed:

v22.17.0

Nice. That means Node.js was already installed and working perfectly.

Just to be sure, I also checked npm (that’s Node’s package manager):

npm -v

Mine showed 10.8.2 — so everything was ready to go.

If yours doesn’t show a version, don’t panic just go to nodejs.org and install the LTS version first.

🧩 Step 2 - Creating My Next.js Project Folder

Next, I decided to create my actual project folder.
 I went with the command:

Developer running npm install command to set up Next.js environment for SosyalAi automation app.
Installing Project Package in Visual Studio Code
npx create-next-app@latest SosyalAi

…and then I hit Enter with full confidence 😎
 But guess what happened?

It threw an error.

Apparently, npm doesn’t allow capital letters in project names.
 So I was like, “Okay fine, let’s go lowercase.”

I ran it again:

npx create-next-app@latest sosyalai

And this time, it worked perfectly.
That command created a new folder with all the default Next.js files inside.


🧩️ Step 3 - The Setup Questions

Then came the fun part, those little interactive questions that pop up while installing the project.

Here’s how it went down:

? Would you like to use TypeScript? » No

I picked No because I wanted to keep it simple for now (I can always add it later).

Then it asked:

? Which linter would you like to use? » ESLint

I chose ESLint, because it helps catch errors automatically.

Next question:

? Would you like to use Tailwind CSS? » Yes

Of course! Tailwind is a must-have for me — super fast for styling.

Then:

? Would you like your code inside a src/ directory? » No

Nope, I prefer it clean and simple.

Finally:

? Would you like to use App Router? (recommended) » Yes

Definitely Yes — App Router is the future of Next.js.

So with all those answered, the setup started installing everything automatically. I just watched the terminal do its thing.


🧩️ Step 4 — Running My Project for the First Time

After the installation finished, I opened my new folder:

Terminal output confirming successful Nxt.js installation for a social post automation project.
Running Next.js Project in Visual Studio Code
cd sosyalai

Then I ran the command:

npm run dev

It started compiling, and after a few seconds, it said:

Local: http://localhost:3000

I copied that URL, opened my browser, and there it was my brand new Next.js app running perfectly on port 3000.

Running Nxt.js project in local host 3000.
Opening Next.js Project in Local Host
Man, it looked beautiful because it meant SosyalAi officially existed.

I won’t lie, it felt good seeing it work.
 From an empty folder to a live local app in under 5 minutes.

And even though it’s just the starter template for now, that was the first real step toward turning SosyalAi into a full-blown automation tool.

🧭 What’s Next

In Page 3, I’ll share how I designed the homepage vision for SosyalAi using Next.js transforming initial ideas into a clear visual direction. This is where creativity met structure: planning the layout, defining the core sections, and shaping the user flow that would later guide the app’s functionality. It’s the foundation of how I started bringing my concept for a FREE AI App to automate social media posting into a real, working homepage prototype.

If this resonates with you:

  • 👏 Clap for this article.
  • 💬 Share your automation frustrations in the comments.
  • 🔗 Pass this to a friend who’s tired of expensive SaaS bills.
  • ❤️ Follow me for the SosyalAi coding journey.

☕ If you’d like to support my work, you can buy me a coffee, I’ll keep turning caffeine into code!

👉 And if you want the full working code snippets I’ll be sharing, check my website.

Before you go, if this story inspired you to start your own build, you might also enjoy:


💌 Click the email icon at the bottom of this story to subscribe and get notified when I release new coding topics, tutorials, and behind-the-code stories.


Comments

Popular posts from this blog

Page3 - Designing My Homepage Vision Using Next.js for my FREE AI App to Automate Social Media Posting

How I Designed a Homepage for My FREE AI App to Automate Social Media Posting Homepage wireframe design for SosyalAi , a free social post AI automation app built with Next.js. H ave you ever stared at your screen, juggling 5 social media tabs, and thought, “There’s got to be a better way to do this” ? Yeah, me too. That’s the day SosyalAi was born, not in a fancy startup office, but in the chaos of managing my own content. When I realized that most social post automation tools cost more than my entire monthly Wi-Fi bill, I knew I had to build my own solution, something smart, simple, and self-sustaining . Get the full code after reading. The Spark Behind SosyalAi I didn’t plan to create a FREE Social Post AI automation app. I just wanted to stop paying absurd fees. When I searched for tools that could automatically post to Facebook , TikTok , Instagram , X (Twitter), Threads , YouTube , and my personal blog I was shocked . Platforms like: Hootsuite - starts around $99...

Page6 - How I Added Guides and Links to the Homepage of my FREE AI App to Automate Social Media Posting

Because a static page is like a coffee shop with no conversations, it looks good, but feels empty. H ave you ever opened your beautifully designed homepage only to realize… it’s lifeless? Everything’s in place the layout, the colors, the title section but something’s missing: content that moves , guides that grow , and links that lead somewhere . Get the full code after reading. That was exactly me building SosyalAi. My homepage looked polished, but it didn’t guide my users anywhere. So I decided to turn it from static to dynamic by adding guides, interactive links, and responsive grids using a little JavaScript magic. Here’s how I made my content come alive. The Day I Realized Static Doesn’t Scale At first, I hardcoded my guides section line by line. < div > < h2 > Getting Started with SosyalAi </ h2 > < p >Learn how to set up your social post automation in minutes.</ p > </ div > < div > < h2 > Building Your First Camp...

Page4 - Building the Core Layout Using Next.js - The Skeleton of my FREE AI App to Automate Social Media Posting

A great homepage isn’t just designed, it’s engineered with intent. You ever stare at a blank page.js file and feel like it’s staring back? That was me when I began building SosyalAi ’s homepage. Blank. White. Silent. But inside that emptiness was the potential of a living, breathing landing page, one that would greet users, pull them in, and whisper: Relax, I got this automated. That’s how SosyalAi Home started from nothing but vision, caffeine, and a few imports that changed everything. Get the full code after reading. Why Start with the Skeleton Before the animations , gradients, and aesthetic glow there has to be structure. Think of it like a human body: muscles ( CSS ), organs (functions), and nerves (state logic) only work when attached to a solid skeleton . When I began the layout for SosyalAi’s homepage , I didn’t jump straight into design. I started with the barebones structure the foundation that would hold everything together. Here’s the mindset I followed: Clarit...